# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('cert', '0002_auto_20181126_1237'),
    ]

    operations = [
        migrations.CreateModel(
            name='ChildCert',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('sub_cert_name', models.CharField(max_length=50)),
                ('start_time', models.DateTimeField(verbose_name=b'date published')),
                ('end_time', models.DateTimeField(verbose_name=b'date published')),
            ],
        ),
        migrations.CreateModel(
            name='RootCert',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('main_cert_name', models.CharField(max_length=50)),
                ('remark', models.CharField(max_length=200)),
            ],
        ),
        migrations.AddField(
            model_name='childcert',
            name='RootCert_id',
            field=models.ForeignKey(help_text=b'\xe6\xa0\xb9\xe5\x9f\x9f\xe5\x90\x8d', to='cert.RootCert'),
        ),
    ]
